home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
FIRSTNON.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
902b
|
42 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_FirstNon( cString ) --> cString
PARAMETERS:
cString : String to test
SHORT:
Return string up to but not including first non-numeric character.
DESCRIPTION:
_FirstNon() Returns a substring of the string passed in cString up to but
not including the Non-AlphaNumeric character.
NOTE:
The UNDERSCORE character is considered AlphaNumeric in this case. Thus, A..Z
a..z 0...9 and _ are the only allowed characters.
EXAMPLE:
t = _FirstNon('ABC&D')
Result: t = 'ABC'
t = _FirstNon('XXX&YYYYY')
Result: t = 'XXX'
t = _FirstNon('*ABCDEFG')
Result: t = ''
******************************************************************************/